package com.qijian.xxjobTask;


import com.qijian.common.core.domain.entity.SysUser;
import com.qijian.system.service.ISysUserService;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class XxjobTest {

    @Autowired
    ISysUserService sysUserService;


    @XxlJob("testXxJob")
    public void testXxJob(){
        SysUser sysUser = sysUserService.selectUserById(1L);
        System.out.println("XxjobTest testXxJob::::122222222222222222313212"+sysUser.getNickName());

    }
}
